package parser;


public class Rule {
	private String rule_name;
	private String[] condition;
	private String[] conclusion;
	
	public Rule(String rule_name)
	{
		this.rule_name = rule_name;
	}
	
	public void addCondition(String[] cond_array)
	{
		condition = cond_array;
	}
	
	public void addConclusion(String[] concl_array)
	{
		condition = concl_array;
	}

	public String getRulename()
	{
		return rule_name;
	}

	public String[] getConditions()
	{
		return condition;
	}

	public String[] getConclusions()
	{
		return conclusion;
	}
}
